package com.neuronbit.businessflow.intellij.lang;

import com.intellij.ide.structureView.StructureViewTreeElement;
import com.intellij.navigation.ItemPresentation;
import com.intellij.psi.PsiFile;
import org.jetbrains.annotations.NotNull;

/**
 * The type Bpm structure view tree root element.
 */
public class BpmStructureViewTreeRootElement extends BpmStructureViewTreeElement {
    /**
     * Instantiates a new Bpm structure view tree root element.
     *
     * @param psiFile the psi file
     */
    public BpmStructureViewTreeRootElement(@NotNull PsiFile psiFile) {
        super(psiFile);
    }

    @Override
    public @NotNull ItemPresentation getPresentation() {
        return new BpmRootPresentation((PsiFile)element);
    }
}
